import request from './request'
// 登录
export const Login = (params) => request.post('/users/login',params);
// 注册
export const exitUser = (params) => request.post('/users/register',params);
// 用户名验证
export const findUser = (userName) => request.post('/users/findUserName',userName)
// 收藏列表
export const LikeList = (user_id) => request.post('/user/collect/getCollect',user_id)

export const settle=(params)=> request.post("/user/order/addOrder",params);

export const orderid =(model)=>request.post("/user/order/getOrder",model);

export const all = (model)=>request.post('user/shoppingCart/updateShoppingCart',model)